﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Dora.Services.AdminUser.Dto.ViewDto
{
    public class PermissionsWithTreeDto
    {
        public PermissionsWithTreeDto()
        {
            PermissionList = new List<PermissionListDto>();
            SelectedIdList = new List<int>();
            SelectedAuthKeyList = new List<string>();
        }
        /// <summary>
        /// 权限列表
        /// </summary>
        public List<PermissionListDto> PermissionList { get; set; }

        /// <summary>
        /// 选择的IdList,只存叶子节点
        /// </summary>
        public List<int> SelectedIdList { get; set; }

        /// <summary>
        /// 选择的AuthKeyList,只存叶子节点
        /// </summary>
        public List<string> SelectedAuthKeyList { get; set; }
    }
}
